Add a test for the previous fix
authorMatthias Clasen <mclasen@redhat.com>
Fri, 29 Nov 2019 14:50:04 +0000 (09:50 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 29 Nov 2019 15:04:59 +0000 (10:04 -0500)
testsuite/tools/simplify-data/test9.expected [new file with mode: 0644]
testsuite/tools/simplify-data/test9.ui [new file with mode: 0644]

diff --git a/testsuite/tools/simplify-data/test9.expected b/testsuite/tools/simplify-data/test9.expected
new file mode 100644 (file)
index 0000000..731b05e
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <object class="GtkGrid">
+    <child>
+      <object class="GtkLabel">
+        <layout>
+          <property name="left-attach">0</property>
+          <property name="top-attach">0</property>
+        </layout>
+      </object>
+    </child>
+  </object>
+</interface>
diff --git a/testsuite/tools/simplify-data/test9.ui b/testsuite/tools/simplify-data/test9.ui
new file mode 100644 (file)
index 0000000..b64bf8c
--- /dev/null
@@ -0,0 +1,13 @@
+<!-- non-default child property remains -->
+<interface>
+  <object class="GtkGrid">
+    <child>
+      <object class="GtkLabel">
+        <layout>
+          <property name="left-attach">0</property>
+          <property name="top-attach">0</property>
+        </layout>
+      </object>
+    </child>
+  </object>
+</interface>